package com.zzx.schoolfellow.service.impl;


import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zzx.schoolfellow.mapper.SensitiveWordMapper;
import com.zzx.schoolfellow.model.entity.SensitiveWord;
import com.zzx.schoolfellow.service.SensitiveWordService;
import org.springframework.stereotype.Service;

import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.function.Function;

/**
 * @program: schoolfeoolw_backend
 * @description:
 * @author: zzx
 * @create: 2023-04-09 16:54
 **/
@Service
public class SensitiveWordServiceImpl extends ServiceImpl<SensitiveWordMapper, SensitiveWord> implements SensitiveWordService {

    @Override
    public void loadSensitiveWordsToRedis() {

    }

    @Override
    public boolean isSensitive(String text) {
        return false;
    }

    @Override
    public List<SensitiveWord> getAllWords() {
        return list();
    }

    @Override
    public boolean saveBatch(Collection<SensitiveWord> entityList, int batchSize) {
        return false;
    }

    @Override
    public boolean saveOrUpdateBatch(Collection<SensitiveWord> entityList, int batchSize) {
        return false;
    }

    @Override
    public boolean updateBatchById(Collection<SensitiveWord> entityList, int batchSize) {
        return false;
    }

    @Override
    public boolean saveOrUpdate(SensitiveWord entity) {
        return false;
    }

    @Override
    public SensitiveWord getOne(Wrapper<SensitiveWord> queryWrapper, boolean throwEx) {
        return null;
    }

    @Override
    public Map<String, Object> getMap(Wrapper<SensitiveWord> queryWrapper) {
        return null;
    }

    @Override
    public <V> V getObj(Wrapper<SensitiveWord> queryWrapper, Function<? super Object, V> mapper) {
        return null;
    }

    @Override
    public SensitiveWordMapper getBaseMapper() {
        return null;
    }

    @Override
    public Class<SensitiveWord> getEntityClass() {
        return null;
    }
}
